/**
 * Project Name:fire-industry-DM-center
 * File Name:Chemical.java
 * Package Name:com.firestone.bean.entity.elasticsearch.dm
 * Date:2018年4月9日上午9:13:07
 *
*/

package com.firestone.bean.entity.elasticsearch.nested;

import java.io.Serializable;

import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

/**
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author CAIYJ
 * @date 2018年4月9日 上午9:13:07
 */
public class Chemical implements Serializable{

    private static final long serialVersionUID = 1L;

    /**
     * @Fields nameofsubstance : TODO(内容名称)
     */
    @Field(type = FieldType.keyword)
    private String nameofsubstance;

    /**
     * @Fields registrynumber : TODO(注册号)
     */
    @Field(type = FieldType.keyword)
    private String registrynumber;

    public String getNameofsubstance() {
        return nameofsubstance;
    }

    public void setNameofsubstance(String nameofsubstance) {
        this.nameofsubstance = nameofsubstance;
    }

    public String getRegistrynumber() {
        return registrynumber;
    }

    public void setRegistrynumber(String registrynumber) {
        this.registrynumber = registrynumber;
    }
}
